/*
 * BackendModuleForm.java
 *
 * Copyright (c) 2008 Teamnet. All Rights Reserved.
 *
 * This source file may not be copied, modified or redistributed,
 * in whole or in part, in any form or for any reason, without the express
 * written consent of Teamnet.
 */

package ro.prjmanager.template.form.backend;

import ro.prjmanager.constants.BackendConstants;
import ro.prjmanager.template.form.ClassFileForm;
import ro.prjmanager.template.form.commons.ModelForm;

/**
 * This class is used to redifine module
 * attributes of the ClassFileForm class from it's default constructor
 */
public class BackendModuleForm extends ClassFileForm {
    //the package coresponding to model
    private String modelPackage;

    public BackendModuleForm() {
        super();
        ModelForm model=new ModelForm();

        this.modelPackage=model.getRelativeToRootPackage();

        this.module=bundle.getString(BackendConstants.APPLICATION_BACKEND_NAMESPACE);
    }

    public String getModelPackage() {
        return modelPackage;
    }

    public void setModelPackage(String modelPackage) {
        this.modelPackage = modelPackage;
    }

    
}
